package com.haoze.nurse.service;

import com.haoze.common.response.Result;
import com.haoze.nurse.params.ChapApproveParam;
import com.haoze.nurse.params.ChapTempParam;
import com.haoze.nurse.params.ChaperonageParam;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

public interface ChaperonageService {
    Result addChaperonage(ChaperonageParam param);

    Result chaperonageList(Integer page, Integer pageSize, String wardId, String beginTime, String endTime);

    Result uploadFile(MultipartFile file, String type);

    Result approveChap(ChapApproveParam param);

    Result patientInfo(String inpatNum, String patName);

    Result chapNo(String inpatNum);

    Result chapList(String idNum);

    Result changePhone(ChaperonageParam param);

    Result oneChap(String chapId);

    Result editChaperonage(ChaperonageParam param);

    Result delChap(String chapId);

    Result addChapTemp(ChapTempParam param);

    Result delChapTemp(String chapTempId);

    Result chapStatus();

    Result tempHistory(String chapId, String beginDate, String endDate);

    Result chapCardTempList(String wardId);

    ResponseEntity<byte[]> exportTempExcel(String wardId, HttpServletResponse response);

    Result getRoles();
}
